package com.nativetalk.bean.teacher;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * TdNtTeacher entity. @author MyEclipse Persistence Tools
 */

public class TdNtTeacherPsd implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// Fields

	@NotNull(message = "{TEACHER.PASSWORD.REGEXP}")
	@Pattern(regexp = "^[0-9a-zA-Z]{6,20}$", message = "{TEACHER.PASSWORD.REGEXP}")
	private String tea_password;

	@NotNull(message = "{TEACHER.PASSWORD.REGEXP}")
	@Pattern(regexp = "^[0-9a-zA-Z]{6,20}$", message = "{TEACHER.PASSWORD.REGEXP}")
	private String old_tea_password;

	public String getTea_password() {
		return tea_password;
	}

	public String getOld_tea_password() {
		return old_tea_password;
	}

	public void setTea_password(String tea_password) {
		this.tea_password = tea_password;
	}

	public void setOld_tea_password(String old_tea_password) {
		this.old_tea_password = old_tea_password;
	}
}